package com.davfx.httpnio;

import java.io.IOException;
import java.nio.ByteBuffer;
import java.util.Map;

interface HttpReadListenHandler {
	void handle(String clientHost, int clientPort, HttpRequest.Method method, String path, Map<String, String> headers);
	void handle(ByteBuffer buffer);
	void ended(ResponseWriter responseWriter);
	void closed();
	void failed(IOException e);
}